<!DOCTYPE html>
<html lang="zh">
<head>
    <meta charset="UTF-8">
    <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.0-beta1/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-giJF6kkoqNQ00vy+HMDP7azOuL0xtbfIcaT9wjKHr8RbDVddVHyTfAAsrekwKmP1" crossorigin="anonymous">
    <title>Title</title>
</head>
<body>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.0.0-beta1/dist/js/bootstrap.bundle.min.js" integrity="sha384-ygbV9kiqUc6oa4msXn9868pTtWMgiQaeYH7/t7LECLbyPA2x65Kgf80OJFdroafW" crossorigin="anonymous"></script>
<h1>
    今天是: <span th:text="${#dates.format(today,'yyyy-MM-dd')}">2018-04-25</span>
</h1>

<div>
    <table class="table">
        <thead>
        <tr>
            <th scope="col">#</th>
            <th scope="col">姓名</th>
            <th scope="col">年龄</th>
            <th scope="col">email</th>
            <th scope="col">操作</th>
        </tr>
        </thead>

        <tbody>
        <tr th:each="user ,stat: ${users}">
            <td th:text="${stat.count}"></td>
            <td th:text="${user.getName()}">Mark</td>
            <td th:text="${user.getAge()}">Mark</td>
            <td th:text="${user.getEmail()}">Mark</td>
            <td><button type="button" class="btn btn-info">修改</button>
            <button type="button" class="btn btn-danger">删除</button></td>
        </tr>
        </tbody>
    </table>
</div>
<hr/>
</body>
</html>